import instance from '@/utils/request';

export function GetShowLightingInfo(data) {
    return instance.request({
        url: "api/LightingInfo/GetLightingInfo",
        method: "post",
        data
    })
}

export function GetTotaocount() {
    return instance.request({
        url: "/api/LightingInfo/GetCount",
        method: "get",
    })
}

export function addLightingInfo(data) {
    return instance.request({
        url: "api/LightingInfo/PostAddLightingInfo",
        method: "post",
        data
    })
}

export function updLightingInfo(data) {
    return instance.request({
        url: "api/LightingInfo/PutUpdateLightingInfo",
        method: "put",
        data
    })
}

export function deleteLightingInfo(data) {
    return instance.request({
        url: "api/LightingInfo/DeleteLightingInfo",
        method: "delete",
        data
    })
}